def numeral_suffix(num, low, mid, hi):
    last_digit, last_two_digits = num % 10, num % 100     
    
    if 4 < last_two_digits < 21:        
        suf = hi
    elif last_digit == 1:
        suf = low
    elif 1 < last_digit < 5:
        suf = mid
    else:
        suf = hi
            
    return suf